// ApplicationAccounts.h : main header file for the Application
//
#pragma once
// CApplicationAccounts:
// See ApplicationAccounts.cpp for the implementation of this class
//

#include "GString.h"
#include "GList.h"
#include "XMLFoundation.h"
#include "Account.h"

class CApplicationAccounts : public XMLObject
{
public:
	CApplicationAccounts();
	~CApplicationAccounts();

private:
		GString m_applicationName;
        GList m_accounts;
		
public:
		GString GetApplicationName() const;
		void SetApplicationName( GString nApplicationName);
        GList * GetAccounts();

public:
	virtual void MapXMLTagsToMembers();
	DECLARE_FACTORY(CApplicationAccounts, ApplicationAccounts)
};